< previous page page_192 next page >

Page 192
3. True or False? Global variables are declared in the declarations section of code modules or forms.
4. What will be displayed in the following code?
9f31265bb40b592b1929e18a47ab28e5.gif
Sub Proc1(intParm As Integer, strValue As String)
intParm = 10
strValue = "Hi There"
End Sub

Dim intTemp As Integer
Dim strName As String
intTemp = 5
strName = "Bill"
Call Proc1(intTemp, strName)
Me.Print intTemp
Whats displayed in the following code?
9f31265bb40b592b1929e18a47ab28e5.gif
Me.Print strName
5. What will be displayed in the following code?
9f31265bb40b592b1929e18a47ab28e5.gif
Dim intTemp As Integer
Dim strName As String

intTemp = 5
strName = "Bill"
Call Proc1(intTemp, ByVal strName)
Me.Print intTemp
Whats displayed in the following code?
9f31265bb40b592b1929e18a47ab28e5.gif
Me.Print strName
Whats displayed in the following code?
9f31265bb40b592b1929e18a47ab28e5.gif
Sub Proc1(ByVal intParm As Integer, strValue As String)
   intParm = 10
   strValue = "Hi There"
End Sub

 
< previous page page_192 next page >

If you like this book, buy it!